<!DOCTYPE html>
{% load static %}
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>密码设置</title>
    <style>
        /* 复用注册页面样式 */
        .password-container {
            max-width: 500px;
            margin: 20px auto;
        }
        .password-strength {
            height: 5px;
            margin: 10px 0;
            background: #eee;
            border-radius: 3px;
        }
    </style>
</head>
<body>
    <div class="login-container password-container">
        <h2>密码设置</h2>
        <form method="post">
            {% csrf_token %}
            <div class="form-group">
                <label>新密码：</label>
                <input type="password" name="new_password" required>
                <div class="password-strength"></div>
            </div>
            <div class="form-group">
                <label>确认密码：</label>
                <input type="password" name="confirm_password" required>
            </div>
            <button type="submit" class="gradient-btn">提交密码</button>
        </form>
    </div>
</body>
</html>